package com.jz.community.moduleshopping.confirmOrder.bean;

import com.alibaba.fastjson.annotation.JSONField;
import com.jz.community.basecomm.bean.baseCommInfo.LinksInfo;

import java.util.Date;
import java.util.List;

/**
 * Created by Tony.Fan on 2018/10/9 10:58
 */
public class BaseOrderCouponInfo extends LinksInfo {
    /**
     * id : 45
     * appCode : 101
     * couponLimitShop : null
     * shopId : 79
     * shopLink : null
     * couponLimitGoods : 1
     * couponName : AAAA
     * couponType : 3
     * couponAmount : null
     * couponDiscount : null
     * couponStartDate : 2018-06-21 10:43:41
     * couponEndDate : 2018-06-27 10:43:43
     * useStartDate : 2018-07-01 10:43:46
     * useEndDate : 2018-07-19 10:43:54
     * minFullAmount : 200
     * giveNumber : 50
     * giveMethod : 1
     * minIntegral : null
     * isGrant : 1
     * sendMinAmount : null
     * createDate : 2018-06-21 10:44:07
     * operatId : 705933
     * operatLink : null
     * isDel : 0
     * isNewUser : 0
     * status : 0
     * subMoney : 20
     * couponItemList : [{"id":103,"shopId":null,"shopLink":null,"shopName":null,"goodsId":"10","goodsLink":"http://api.shoppingyizhan.com/gds/goodssqr/10","goodsName":"鸡蛋卷","goodsCategoriesId":null,"goodsCategoriesLink":null,"goodsCategoriesName":null},{"id":104,"shopId":null,"shopLink":null,"shopName":null,"goodsId":"11","goodsLink":"http://api.shoppingyizhan.com/gds/goodssqr/11","goodsName":"夏威夷果","goodsCategoriesId":null,"goodsCategoriesLink":null,"goodsCategoriesName":null},{"id":105,"shopId":null,"shopLink":null,"shopName":null,"goodsId":"12","goodsLink":"http://api.shoppingyizhan.com/gds/goodssqr/12","goodsName":"芒果干-红包购买","goodsCategoriesId":null,"goodsCategoriesLink":null,"goodsCategoriesName":null}]
     * links : {"self":{"href":"http://api.shoppingyizhan.com/yhq/coupon-info/45"}}
     */

    private String id;
    private int appCode;
    private int couponLimitShop;
    private String shopId;
    private String shopLink;
    private String shopName;
    private int couponLimitGoods;
    private int platformOrMerchant;
    private String couponName;
    private int couponType;
    private String couponAmount;
    private String couponDiscount;
    private String couponStartDate;
    private String couponEndDate;
    private String useStartDate;
    private String useEndDate;
    private double minFullAmount;
    private int giveNumber;
    private int giveMethod;
    private String minIntegral;
    private int isGrant;
    private String sendMinAmount;
    private String createDate;
    private String operatId;
    private String operatLink;
    private int isDel;
    private int isNewUser;
    private int status;
    private int historyStatus;
    private String subMoney;
    private String changed = "N";// 是否改变

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getChanged() {
        return changed;
    }

    public void setChanged(String changed) {
        this.changed = changed;
    }

    public int getPlatformOrMerchant() {
        return platformOrMerchant;
    }

    public void setPlatformOrMerchant(int platformOrMerchant) {
        this.platformOrMerchant = platformOrMerchant;
    }

    private List<CouponItemListBean> couponItemList;

    public int getHistoryStatus() {
        return historyStatus;
    }

    public void setHistoryStatus(int historyStatus) {
        this.historyStatus = historyStatus;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getAppCode() {
        return appCode;
    }

    public void setAppCode(int appCode) {
        this.appCode = appCode;
    }

    public int getCouponLimitShop() {
        return couponLimitShop;
    }

    public void setCouponLimitShop(int couponLimitShop) {
        this.couponLimitShop = couponLimitShop;
    }

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    public String getShopLink() {
        return shopLink;
    }

    public void setShopLink(String shopLink) {
        this.shopLink = shopLink;
    }

    public int getCouponLimitGoods() {
        return couponLimitGoods;
    }

    public void setCouponLimitGoods(int couponLimitGoods) {
        this.couponLimitGoods = couponLimitGoods;
    }

    public String getCouponName() {
        return couponName;
    }

    public void setCouponName(String couponName) {
        this.couponName = couponName;
    }

    public int getCouponType() {
        return couponType;
    }

    public void setCouponType(int couponType) {
        this.couponType = couponType;
    }

    public String getCouponAmount() {
        return couponAmount;
    }

    public void setCouponAmount(String couponAmount) {
        this.couponAmount = couponAmount;
    }

    public String getCouponDiscount() {
        return couponDiscount;
    }

    public void setCouponDiscount(String couponDiscount) {
        this.couponDiscount = couponDiscount;
    }

    public String getCouponStartDate() {
        return couponStartDate;
    }

    public void setCouponStartDate(String couponStartDate) {
        this.couponStartDate = couponStartDate;
    }

    public String getCouponEndDate() {
        return couponEndDate;
    }

    public void setCouponEndDate(String couponEndDate) {
        this.couponEndDate = couponEndDate;
    }

    public String getUseStartDate() {
        return useStartDate;
    }

    public void setUseStartDate(String useStartDate) {
        this.useStartDate = useStartDate;
    }

    public String getUseEndDate() {
        return useEndDate;
    }

    public void setUseEndDate(String useEndDate) {
        this.useEndDate = useEndDate;
    }

    public double getMinFullAmount() {
        return minFullAmount;
    }

    public void setMinFullAmount(double minFullAmount) {
        this.minFullAmount = minFullAmount;
    }

    public int getGiveNumber() {
        return giveNumber;
    }

    public void setGiveNumber(int giveNumber) {
        this.giveNumber = giveNumber;
    }

    public int getGiveMethod() {
        return giveMethod;
    }

    public void setGiveMethod(int giveMethod) {
        this.giveMethod = giveMethod;
    }

    public String getMinIntegral() {
        return minIntegral;
    }

    public void setMinIntegral(String minIntegral) {
        this.minIntegral = minIntegral;
    }

    public int getIsGrant() {
        return isGrant;
    }

    public void setIsGrant(int isGrant) {
        this.isGrant = isGrant;
    }

    public String getSendMinAmount() {
        return sendMinAmount;
    }

    public void setSendMinAmount(String sendMinAmount) {
        this.sendMinAmount = sendMinAmount;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getOperatId() {
        return operatId;
    }

    public void setOperatId(String operatId) {
        this.operatId = operatId;
    }

    public String getOperatLink() {
        return operatLink;
    }

    public void setOperatLink(String operatLink) {
        this.operatLink = operatLink;
    }

    public int getIsDel() {
        return isDel;
    }

    public void setIsDel(int isDel) {
        this.isDel = isDel;
    }

    public int getIsNewUser() {
        return isNewUser;
    }

    public void setIsNewUser(int isNewUser) {
        this.isNewUser = isNewUser;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getSubMoney() {
        return subMoney;
    }

    public void setSubMoney(String subMoney) {
        this.subMoney = subMoney;
    }

    public List<CouponItemListBean> getCouponItemList() {
        return couponItemList;
    }

    public void setCouponItemList(List<CouponItemListBean> couponItemList) {
        this.couponItemList = couponItemList;
    }

    public static class CouponItemListBean {
        /**
         * id : 103
         * shopId : null
         * shopLink : null
         * shopName : null
         * goodsId : 10
         * goodsLink : http://api.shoppingyizhan.com/gds/goodssqr/10
         * goodsName : 鸡蛋卷
         * goodsCategoriesId : null
         * goodsCategoriesLink : null
         * goodsCategoriesName : null
         */

        private String id;
        private String shopId;
        private String shopLink;
        private String shopName;
        private String goodsId;
        private String goodsLink;
        private String goodsName;
        private String goodsCategoriesId;
        private String goodsCategoriesLink;
        private String goodsCategoriesName;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getShopId() {
            return shopId;
        }

        public void setShopId(String shopId) {
            this.shopId = shopId;
        }

        public String getShopLink() {
            return shopLink;
        }

        public void setShopLink(String shopLink) {
            this.shopLink = shopLink;
        }

        public String getShopName() {
            return shopName;
        }

        public void setShopName(String shopName) {
            this.shopName = shopName;
        }

        public String getGoodsId() {
            return goodsId;
        }

        public void setGoodsId(String goodsId) {
            this.goodsId = goodsId;
        }

        public String getGoodsLink() {
            return goodsLink;
        }

        public void setGoodsLink(String goodsLink) {
            this.goodsLink = goodsLink;
        }

        public String getGoodsName() {
            return goodsName;
        }

        public void setGoodsName(String goodsName) {
            this.goodsName = goodsName;
        }

        public String getGoodsCategoriesId() {
            return goodsCategoriesId;
        }

        public void setGoodsCategoriesId(String goodsCategoriesId) {
            this.goodsCategoriesId = goodsCategoriesId;
        }

        public String getGoodsCategoriesLink() {
            return goodsCategoriesLink;
        }

        public void setGoodsCategoriesLink(String goodsCategoriesLink) {
            this.goodsCategoriesLink = goodsCategoriesLink;
        }

        public String getGoodsCategoriesName() {
            return goodsCategoriesName;
        }

        public void setGoodsCategoriesName(String goodsCategoriesName) {
            this.goodsCategoriesName = goodsCategoriesName;
        }
    }
}
